a = int(input("请输入100~999之间的一个数字="))
b = a//100
c = (a-b*100)//10
d = (a-b*100-c*10)
e = b+d
f = e*101+2*c*10
a1 = f-a
print(b, c, d, e, f, a1)
